<div id="page-title">
	<img
		src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/dynamic-pages.png"
		width="50" height="50" class="left-align service-icn "
		alt="Dynamic Page Panel">
	<h1 class="page-heading">Dynamic Page Panel</h1>
</div>

<div id="breadcrumb" class="transparent">
	<p>
		<img src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/home.png" class="home" alt="Dynamic Page Panel"> <a href="<{$APPLICATION_URL}>/Browse/index" title="Slappit.com Homepage">Home</a> / <a href="<{$APPLICATION_URL}>/Browse/MyAccount/index" title="Slappit.com User Panel">Website Admin Panel</a> / <a href="<{$APPLICATION_URL}>/Browse/DynamicPage/index" title="Dynamic Page Panel">Dynamic Pages</a>

</div>
<div id="main-content">
	<article id="main-article">
	<ul id="filtering-nav">
		<li><a href="<{$APPLICATION_URL}>/Browse/MyAccount/index" title="Back To Main User Panel">Back To Main User Panel</a></li>
		<li><a href="<{$APPLICATION_URL}>/Browse/DynamicPage/create" title="Create A New Page">Create A New Page</a></li>
		<li><a href="<{$currentUser->getHomeUrl()}>" title="View Website Homepage" target="blank">View Website Homepage</a></li>
	</ul>
					<{if $isDemoMode == true}>
					<p><h3 style="font-family:arial"><font color="red">THIS IS DEMO MODE. YOU CANNOT EDIT ANY INFORMATION HERE</font></h3><br/>
					</p>
					<{/if}>
	<div id="service-page">
                      	  <div class="clear"></div> 
               	  </div>
	<{if $pageCount > 0}>
	<table width="100%" border="0" cellspacing="2" cellpadding="5">
		<tr>
			<td width="55%">Name</td>
			<td width="5%">&nbsp;</td>
			<td width="17%">Edit Page</td>
			<td width="23%">Delete Page</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
		<{foreach name=pageList item=pageEntity from=$pageEntities}>
		<tr>
			<td><{$pageEntity->name}></td>
			<td>&nbsp;</td>
			<td><a href="<{$APPLICATION_URL}>/Browse/DynamicPage/edit/id/<{$pageEntity->id}>" title="Edit Page">Edit Page</a></td>
			<td><a href="<{$APPLICATION_URL}>/Browse/DynamicPage/del/id/<{$pageEntity->id}>" title="Delete Page">Delete Page</a></td>
		</tr>
		<{/foreach}>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
		<{if $pageLink != ""}>
		<tr>
			<td colspan="4" align="center">
				<{$pageLink}>
			</td>
		</tr>
		<{/if}>
	</table>
	<{/if}> </article>

</div>
<div class="space transparent">
	<a href="#top" id="scroll-top"><img
		src="<{$APPLICATION_URL}>/Themes/Default/Images/res-img/top.png"
		alt="Back to top"> </a>
</div>
